package com.moinut.studentattendancemanager.model.dao;

import com.moinut.studentattendancemanager.model.vo.AttendanceInfo;

import java.util.List;

/**
 * @author MOILING
 */
public interface IAttendanceInfoDAO {
    List<AttendanceInfo> getAttendancesInfoByCourseId(String courseId) throws Exception;

    List<AttendanceInfo> getAttendancesInfoByCourseIdAndStudentId(String courseId, String studentId) throws Exception;

    List<AttendanceInfo> getAllAttendancesInfo() throws Exception;

    List<AttendanceInfo> getAttendancesInfoByTeacherId(String teacherId) throws Exception;

    boolean updateAttendanceInfo(AttendanceInfo attendanceInfo) throws Exception;

    boolean insertAttendanceInfo(AttendanceInfo attendanceInfo) throws Exception;
}
